#include <pspkernel.h>
#include <pspsdk.h>
#include <pspdebug.h>
#include <pspctrl.h>
#include <pspsuspend.h>
#include <psppower.h>
#include <pspreg.h>
#include <psprtc.h>
#include <psputils.h>
#include <pspgu.h>
#include <pspgum.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdarg.h>
#include <malloc.h>
//OSLib:
#include <oslib/oslib.h>

enum constants {
	sizeX = 16,
	sizeY = 8,
	offsetX = 89,
	offsetY = 8,
	lenghtX = 24,
	lenghtY = 32,
};

enum colors {
    RED =	0xFF0000FF,
    GREEN =	0xFF00FF00,
    BLUE =	0xFFFF0000,
    WHITE =	0xFFFFFFFF,
    LITEGRAY = 0xFFBFBFBF,
    GRAY =  0xFF7F7F7F,
    DARKGRAY = 0xFF3F3F3F,
    BLACK = 0xFF000000
};

//Variables
int skip = 0, sX = 0, sY = 0;

//Images
OSL_IMAGE *background, *selector, *full, *empty;